---
- when:
    message_type: KojiBuildPackageCompleted
  do:
    - tasks:
        - python-versions
        - rpmgrill
        - rpmlint

- when:
    message_type: KojiBuildPackageCompleted
    name:
      $nin: [{{ trigger_abicheck_blacklist | join(',') }}]
  do:
    - tasks:
        - abicheck

- when:
    message_type: KojiTagChanged
    tag:
      $regex: '/^f[0-9]{2}-updates(-testing)?-pending$$/'
  do:
    - tasks:
        - rpmdeplint

- when:
    message_type: DistGitCommit
    namespace: modules
  do:
    - tasks:
        - check_modulemd

- when:
    message_type: GitHubPullRequestOpened
    repo_name:
      $regex: '/^container-images\/.+/'
  do:
    - tasks:
        - mtf-containers
